package com.dao.common;

import com.entity.common.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.scheduling.config.ScheduledTaskRegistrar;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> getPageList(User record);

    User getUserByAccount(String account);

    int editUserByUserName(User user);
}